import smtplib
# EMAIL_HOST = "smtp.163.com"
# EMAIL_PORT = 465
# EMAIL_USE_TLS = True
# EMAIL_HOST_USER = "duxjie2021@163.com"
# EMAIL_HOST_PASSWORD = "HLUUDEWJYCJKAIHI"
# EMAIL_HOST_PASSWORD = "dxj516888"
smtp_server = "smtp.163.com"
smtp_port = 465
smtp_username = "duxjie2021@163.com"
smtp_password = "PLHOHHVZZRMLKSXE"

server = smtplib.SMTP(smtp_server, smtp_port)
server.starttls()
server.login(smtp_username, smtp_password)
server.quit()
